package example_07.demo_02;

public class Main {
    public static void main(String[] args) {
        JavaTeacher java = new JavaTeacher();
        java.setName("曹老师");
        java.setYear(8);
        Neu neu=new Neu();
        neu.shiJiang(java);

        JavaTeacher java2=new JavaTeacher();
        java2.setName("修春勇");
        java2.setYear(3);
        neu.shiJiang(java2);

        qianrushi qrs = new qianrushi();
        qrs.setName("周涛");
        qrs.setYear(3);
        qrs.jiangke();

    }

}
